package com.dfbz.service.impl;

import com.dfbz.dao.DeptDao;
import com.dfbz.model.Dept;

import java.util.List;

public class DeptServicesImpl implements com.dfbz.service.DeptServices {

    private DeptDao deptDao = new DeptDao();

    @Override
    public List<Dept> getAll() {
        return deptDao.findAll();
    }
}
